﻿using System;
using WiMo.Games.Drawables;

namespace WiMo.Games.Silverlight.GameEngine.Drawables
{
    public class Texture : ITexture
    {
        public string Name { get; set; }

        public object TextureInformation
        {
            get;
            set;
        }

        public void Dispose()
        {
            var disposable = TextureInformation as IDisposable;
            if (disposable != null)
                disposable.Dispose();
        }
    }
}
